package com.ssl.rms.entity;

import java.io.Serializable;

public class RoleMenu implements Serializable {
    /**
     * 
     */
    private Long id;

    /**
     * 菜单id
     */
    private Long menu;

    /**
     * 角色id
     */
    private Long role;

    /**
     * sys_role_menu
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @return id 
     */
    public Long getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 菜单id
     * @return menu 菜单id
     */
    public Long getMenu() {
        return menu;
    }

    /**
     * 菜单id
     * @param menu 菜单id
     */
    public void setMenu(Long menu) {
        this.menu = menu;
    }

    /**
     * 角色id
     * @return role 角色id
     */
    public Long getRole() {
        return role;
    }

    /**
     * 角色id
     * @param role 角色id
     */
    public void setRole(Long role) {
        this.role = role;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", menu=").append(menu);
        sb.append(", role=").append(role);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}